{*include file="head.htm"*} {** <!-- Here is head --> **}
<!-- 中部包围框 -->
<div id="main_con">
<div class="pic_bg">
<div class="con_other no_bg"><!-- 这里是中间主要内容 -->

<div class="top3"><!-- 相册宣言以及相片TOP3 -->
	<div class="left f_left">
		<div class="pic_brief">{*$aOut.album_brief*}</div>
		<div class="b_c"><a href="index.php?m=admin"><img src="{*$aOut.imgurl*}btn_24.gif"></a></div>
	</div>
	<div class="right f_right">
		<div class="f_left">已有相片 <span class="a_red">{*$aOut.aUsed.count*}</span> 张, 总空间 
		<span class="a_red">{*$aOut.aUsed.total*} MB</span> 已用 
		<span class="a_red">{*$aOut.aUsed.used|string_format:"%d"*} MB</span></div>
		<div class="sh_all f_right"><div class="sh_total f_left"><div class="sh_used" style="width:{*$aOut.aUsed.userate*}%">&nbsp;</div></div><div class="f_right a_red">{*$aOut.aUsed.userate*}%&nbsp;</div></div>
		<div class="clear_both"></div>
		<ul>
		{*foreach item=top name=top from=$aOut.pictop3*}{** <!-- 相册TOP3输出 --> **}
			<li><div class="cente" onmouseover="this.style.backgroundColor='#D0F3F9';" onmouseout="this.style.backgroundColor='';"><p><a href="./index.php?m=pic&a=view&pid={*$top.id*}"><img src="{*$aOut.picurl*}{*$top.filename*}_s.jpg" 
title="上传者: {*$top.owner_name*}
文件名: {*$top.oldname*}
大　小: {*$top.size / 1024 |string_format:'%d'*} KB
时　间: {*$top.time*}
分辨率: {*$top.width*}×{*$top.height*}
简　介: {*$top.brief|csubstr:24*}
人　气: {*$top.info_score*}
点击查看原图" alt="{*$top.brief*}"/></a></p></div></li>
		{*/foreach*}{** <!-- 相册TOP3输出结束 --> **}
		</ul>
		<div class="clear_both"></div>
		<div class="pic_act">
		<a href="#" onclick="$('#pic_up').show()" class="r"> <img src="{*$aOut.imgurl*}pic_add.gif" width="30" height="30" />添加</a>
		<a href="#" onclick="$('#idform').submit()" class="r"> <img src="{*$aOut.imgurl*}pic_del.gif" width="30" height="30" />删除</a>
		</div>
	</div>
</div><!-- 相册宣言、TOP3结束 -->

<div class="clear_both"></div>
<div class="main_pic"  id="pic_up" style="display:none" ><!-- 添加相片显示区域 -->
<table width=360 border=0 cellpadding=0 cellspacing=0 background="{*$aOut.imgurl*}picup_bg.gif">
  <tr><td colspan=3><img src="{*$aOut.imgurl*}picup_t.gif" width=360 height=18></td></tr>
  <tr> 
    <td width=11></td>
    <td width=338 align="center"> 
	  <br>
      <font color=#000000><b>{*$aU.id*}</b> 正在上传图片……</font><br><br>
      <form action="./index.php?m=pic&a=add" method="post" enctype="multipart/form-data" name="picForm" style="text-align:left">
        请按<b class="cla2">[浏览]</b>找到要添加的照片,再点击<b class="cla2">[添加]</b><br>
		图片允许 <span class="cla2">GIF JPEG</span> 的格式,需 <span class="cla2">小于{*$aOut.max_size*}KB</span><br>
		　<input name="file" type="file" size=32 class="input"><br>
		　图片说明（限250字节）:<br>
		　<textarea name="brief" cols=32 style="height:64px" class="input"></textarea>
        &nbsp; <input type="image" src="{*$aOut.imgurl*}btn_23.gif">
        <br>
        ·请确保您上传的图片不得违反国家有关规定；<br>
        ·校友录将对您的图片保留最终决定权； 
      </form>
    </td>
    <td width=11></td>
  </tr>
  <tr><td colspan=3><img src="{*$aOut.imgurl*}picup_b.gif" width=360 height=31></td></tr>
</table>
</div><!-- 添加相片显示区域结束 -->
<div class="clear_both"></div>

<div class="main_pic"><!-- 相册主要相片显示块 -->
	<form id="idform" name="pixForm" action="./index.php?m=pic&a=del&page={*$aOut.page_curr*}" method="post">
	<ul>
{*foreach item=pic name=pic from=$aOut.pics*}{** 相片输出 **}
		<li>
		<div class="cente" style="background-color: #eee;" onmouseover="this.style.backgroundColor='#D0F3F9';" onmouseout="this.style.backgroundColor='#eee';"><p><a href="./index.php?m=pic&a=view&pid={*$pic.id*}"><img src="{*$aOut.picurl*}{*$pic.filename*}_s.jpg" 
title="上传者: {*$pic.owner_name*}
文件名: {*$pic.oldname*}
大　小: {*$pic.size / 1024 |string_format:'%d'*} KB
时　间: {*$pic.time*}
分辨率: {*$pic.width*}×{*$pic.height*}
简　介: {*$pic.brief|csubstr:16*}
人　气: {*$pic.info_score*}
点击查看原图"  alt="{*$pic.brief*}"/></a></p></div><br />
		<input id="idpic{*$pic.id*}" name="pid[]" type="checkbox" value="{*$pic.id*}" /><label for="idpic{*$pic.id*}">人气:{*$pic.info_score*} / {*$pic.comments*}</label><br />
		上传者:{*$pic.owner_name*}<br />
		{*$pic.brief|csubstr:14:'..'*}
		</li>
{*/foreach*}{** 相片输出结束 **}
	</ul>
	</form>
<span class="page_tip f_right">{*$aOut.page_tip*}</span>
</div><!-- 相片显示块结束 -->

</div>

</div><!-- 中间页主要内容结束 -->

</div><!-- 中间的附加层自适应层 -->
{*include file="foot.htm"*}